 using System.Linq;
using Microsoft.EntityFrameworkCore;
using Demo.Db;
using Demo.Models;

namespace Demo.Repository
{
    public interface IRepository<T>
    {
        IQueryable<T> Table {get;}
        public void Insert(T entity);
        public void Delete(int id);
        public void Update(T entity);
        T GetById(int id);
    }

}